package com.i2works.smartluolong.web.dal.common.dao;

import com.i2works.smartluolong.utils.basecommon.BaseCommonDAO;
import com.i2works.smartluolong.utils.exception.DAOException;
import com.i2works.smartluolong.web.entity.common.HoliDayDO;
import com.i2works.smartluolong.web.entity.common.HoliDayQuery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 节假日持久层
 */
@Mapper
@Repository("holidayDAO")
public interface IHolidayDAO extends BaseCommonDAO<HoliDayQuery, HoliDayDO> {
    /**
     * 查询所有列表
     */
    List<String> queryAll(HoliDayQuery query) throws DAOException;

    /**
     * 删除全部
     */
    void deleteAll() throws DAOException;


}
